<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=2.0, user-scalable=no"/>
<title>野趣-奔跑</title>
<link href="/Public/css/event/yq.css" type="text/css" rel="stylesheet" />
<link href="/Public/css/event/font.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/Public/js/event/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="/Public/js/event/yqmain.js"></script>
</head>
<body>
<div class="mask"></div>
<!------------登录------------------------->
<div class="loginBox borderRadius">
	<span class="icon iconfont icon-chahao spanClose"></span>
    <h1>用户登录</h1>
    <div class="divregist boxSize">
        <input id="username" placeholder="请输入账号" name="username" class="uploadTxt uploadTxtFix" >
        <div class="tipinfo"></div>
    </div>
    <div class="divregist login boxSize">
        <input id="password" name="password" type="password" placeholder="请输入密码" class="uploadTxtFix"/>
        <div class="tipinfo"></div> 
    </div>
    <span id="registeFailInfo" class="registeFail" style="display:none;">登录失败</span>
    <input type="button" value="立即登录" class="loginBtn borderRadius">
</div>

<div class="titleBg">{$organiztion['name']}</div>
<for start="0" end="count($result)">
    <div class="scoreBox1">
        <div class="scoreBoxdiv1">
            <div class="scoretitle"><span>{$i+1}</span>{$result[$i]['name']}</div>
            <div class="scoreBtn">
                <if condition="$result[$i]['scored'] eq null">
                    <select name="scoredf" class="scoredf" id="scoredf_{$result[$i]['id']}">
                <else />
                    <select name="scoredf" class="scoredf" id="scoredf_{$result[$i]['id']}" disabled>
                </if>
                        <option value="1" <if condition="$result[$i]['scored'] eq 1">selected</if>>1</option>
                        <option value="2" <if condition="$result[$i]['scored'] eq 2">selected</if>>2</option>
                        <option value="3" <if condition="$result[$i]['scored'] eq 3">selected</if>>3</option>
                        <option value="4" <if condition="$result[$i]['scored'] eq 4">selected</if>>4</option>
                        <option value="5" <if condition="$result[$i]['scored'] eq 5">selected</if>>5</option>
                        <option value="6" <if condition="$result[$i]['scored'] eq 6">selected</if>>6</option>
                        <option value="7" <if condition="$result[$i]['scored'] eq 7">selected</if>>7</option>
                        <option value="8" <if condition="$result[$i]['scored'] eq 8">selected</if>>8</option>
                        <option value="9" <if condition="$result[$i]['scored'] eq 9">selected</if>>9</option>
                        <option value="10" <if condition="$result[$i]['scored'] eq 10">selected</if>>10</option>
                    </select>
            打分</div>
        </div>
        <div class="scoreBoxdiv2">
            <if condition="$result[$i]['scored'] eq null">
                <input type="button" value="提交" class="tijiaoBtn borderRadius" id="tijiaoBtn_{$result[$i]['id']}" data-event_item="{$result[$i]['id']}">
                <span class="scoreNum disn" id="scoreNum_{$result[$i]['id']}">{$result[$i]['scored']}分</span>
            <else />
                <input type="button" value="提交" class="tijiaoBtn borderRadius disn" id="tijiaoBtn_{$result[$i]['id']}">
                <span class="scoreNum" id="scoreNum_{$result[$i]['id']}">{$result[$i]['scored']}分</span>
            </if>
        </div>
    </div>
</for>
</body>
<script type='text/javascript'>
var options = {
    event_id: {$eventId},
    organiztion_id: {$orgId},
    scoreBtn: '.tijiaoBtn'
}
view.detail.init( options );
</script>
</html>
